package com.dianping.abel.response.impl;

import lombok.Data;

/**
 * @author xiachao
 * @date 2019/3/7
 */
@Data
public class PageResponse<T> extends DataResponse<T>{
    /**
     * 当前页
     */
    private int page;
    /**
     * 页大小
     */
    private int pageSize;
    /**
     * 总记录数
     */
    private int total;

    public PageResponse(boolean success, T data) {
        super(success, data);
    }
}
